<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Robert Heath Development</title>
<style>
* {
	margin: 0;
	padding: 0;
}
body {
	background: #90abce;
	text-align: left;
	margin: 10px 0 0 0;
}
#accessibility {
	display: none;
}
/* -------------------
Main Structure
------------------- */	
#frame {
	width: 782px;
	text-align: left;
	margin: 0 auto;
	background: #21579d 0 0 no-repeat;
}
#middle {
	overflow: auto;
	width: 100%;
}
#content {
	float: left;
	width: 554px;
	border-right: 1px solid #98bae6;
}
#sidebar {
	float: left;
	width: 187px;
	padding: 0 20px;
}
/* -------------------
Header
------------------- */
#header {
	height: 60px;
}
#header h1 {
	width: 367px;
	float: left;
	color: #fff;
	font: 1.2em/50px Arial, Helvetica, sans-serif;
	letter-spacing: 0.1em;
	padding: 33px 0 0 25px;
}
#header h1 a {
	text-decoration:none;
	color: #fff;
}
#header h1 a:visited {
	text-decoration:none;
	color: #fff;
}
#header h1 a:hover {
	color: #fff;
}
/* -------------------
Content
------------------- */
#content .post {
	margin: 0 20px 20px 25px;
}
/* general #content definitions */
	
#content h2 {
	color: #ffd482;
	font: 1.3em/2em Arial, Helvetica, sans-serif;
	margin: 0 0 0.3em 0;
}
#content h2 a {
	color: #ffd482;
	text-decoration: none;
}
#content h2 a:hover {
	text-decoration: underline;
}
#content h3 {
	font: 1em/2em Arial, Helvetica, sans-serif;
	color: #fff;
	margin: 1.1em 0 0.2em 0;
	font-weight: bold;
}
#content h4 {
	font: bold 0.9em/1em Arial, Helvetica, sans-serif;
	color: #a5c1e5;
	border-left: 1em solid #a5c1e5;
	padding: 0 0 0 0.5em;
	margin: 1em 0;
}
#content p, #content li, #content dl {
	color: #fff;
	font: 0.75em/1.6em Arial, Helvetica, sans-serif;
}
#content p, #content ul, #content ol, #content dl, #content img {
	margin: 0 0 0.7em 0;
}
#content li {
	margin: 0 0 0 30px;
}
#content dl dt {
	font-weight: bold;
}
#content dl dd {
	margin: 0 0 0.4em 0.5em;
}
#content a {
	color: #fff;
}
#content a:hover {
	color: #fff7bd;
}
#content .post ul.post-data {
	background: #447ac0;
	border-top: 1px solid #98bae6;
	list-style: none;
	font: 0.9em/2em Tahoma, Arial, Helvetica, sans-serif;
	padding: 0.1em 0 0.2em 0;
	color: #a5c1e5;
	margin: 1.3em 0 0 0;
}
#content .post ul.post-data li {
	color: #a5c1e5;
}
#content .post ul.post-data a {
	text-decoration: none;
	color: #a5c1e5;
}
#content .post ul.post-data a:hover {
	color: #fff7bd;
}
#content .post ul.post-data li.comments {
	float: right;
	margin: 0 0.7em 0 0;
	display: inline; /* fixes double float bug in IE */
}
#content .post ul.post-data li.comments a {
	padding: 0 0 0 15px;
}
#content .post ul.post-data li.posted {
	margin: 0 0 0 0.7em;
}
#content .post ul.post-data li.posted a {
	padding: 0 0 0 13px;
}
#content .post ul.post-data li.comments a:hover, #content .post ul.post-data li.posted a:hover {
	background-position: 0 -38px;
}
/* -------------------
Sidebar
------------------- */
#sidebar h3 {
	color: #ffd482;
	font: 1em/0.8em Arial, Helvetica, sans-serif;
	margin: 0 0 0.4em 0;
}
#sidebar p, #sidebar li {
	color: #fff7bd;
	font: 0.7em/1.5em Tahoma, Arial, Helvetica, sans-serif;
}
#sidebar p, #sidebar ul, #sidebar ol {
	margin: 0 0 1.2em 0;
}
#sidebar ul {
	list-style: none;
}
#sidebar ul li {
	padding: 0 0 0 11px;
}
#sidebar a {
	color: #fff7bd;
	border-bottom: 1px dashed #a6bdc3;
	text-decoration: none;
}
#sidebar a:hover {
	color: #fff;
	border-bottom: 1px solid #fff;
}
/* -------------------
Footer
------------------- */
#footer {
	clear: left;
	height: 71px;
}
#footer #footertext {
	float: right;
	color: #b2c4dd;
	font: 0.75em/1.6em Arial, Helvetica, sans-serif;
	padding: 36px 30px 0 0;
}
#footer #footertext a {
	color: #b2c4dd;
	text-decoration: none;
}
#footer #footertext a:hover {
	color: #fff;
	text-decoration: underline;
}
#footer #searchform {
	padding: 33px 0 0 30px;
}
#footer #searchform .searchfield {
	height: 16px;
}
#footer #searchform .searchbutton {
	height: 22px;
}
#commentlist li {
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid #700000;
}
.post {
	margin:0 0 25px 0;
}
.post .info {
	padding:2px 3px 3px 8px;
	border:1px solid #e3e4e4;
	background-color:#21579e;
	font-size:0.9em;
	color:#505050;
}
/* -------------------
Robert Heath Development
------------------- */
.osc-contribution {
	padding:2px 3px 3px 8px;
	border:1px solid #e3e4e4;
	background-color:#21579e;
	font-size:0.9em;
	color:#ffffff;
	font-weight:bold;
	padding:5px;
	text-align:left;
}
</style>
</head>
<body>
<div id="frame">
<div id="accessibility"> <a href="#content" title="Go to content">Go to content</a> <a href="#nav" title="Go to navigation">Go to navigation</a> <a href="#searchform" title="Go to search">Go to search</a> </div>
<div id="header">
  <h1><a href="http://robertheath.net">Robert Heath Development</a></h1>
</div>
<div id="middle">
  <div id="content">
    <div class="post" id="post-20">
      <h2>Manufacturer Sales Report </h2>
      <div class="entry">
        <p class="osc-contribution">Version: 2.2<br />
          Author: Robert Heath<br />
          Author's Website: <a href="http://www.robertheath.net">www.robertheath.net</a><br />
          Donations: <a href="http://www.paypal.com">www.paypal.com</a><br />
          Donations Email: <a href="mailto:robert@robertheath.net"> robert@robertheath.net</a><br />
        </p>
        <h3 align="left"><a href="Screenshot.png"><img src="Screenshot.png" width="510" border="0" /></a></h3>
        <p align="left">This contribution adds the ability to view sales reports based on  manufacturer rather than customer or product. This version adds the  ability to view a breakdown of products sold by manufacturer in  addition to total sales by manufacturer. It also adds a printer  friendly version of the report which displays the Store name, time and  date the report was created, and the reporting period specified.</p>
        <h3 align="left"><strong>Version History:</strong></h3>
        <p>v2.2</p>
        <ul>
          <li> View sales and tax individually or combined</li>
          <li>Integrated SpiffyCal for easier date range filtering</li>
          <li>Rewrite of all logic to improve performance and simplify code</li>
        </ul>
        <h3>Installation Instructions</h3>
        <ol>
          <li>Upload the files included in this package<br />
            <br />
          </li>
          <li>Add the following line to /admin/includes/filenames.php<br />
            <br />
            AFTER<br />
            <textarea cols="55" rows="3" wrap="off">define(’FILENAME_STATS_CUSTOMERS’, ’stats_customers.php’);</textarea>
            <br />
            ADD<br />
            <textarea cols="55" rows="3" wrap="off">define(’FILENAME_STATS_MANUFACTURERS’, ’stats_manufacturers_sales.php’)</textarea>
            <br />
            <br />
          </li>
          <li>Add the following line to/admin/includes/languages/english.php<br />
            <br />
            AFTER<br />
            <textarea cols="55" rows="3" wrap="off">define(’BOX_REPORTS_ORDERS_TOTAL’, ‘Customer Orders-Total’);</textarea>
            <br />
            ADD<br />
            <textarea cols="55" rows="3" wrap="off">define(’BOX_REPORTS_SALES_MANUFACTURERS’, ‘Manufacturer Sales’);
            </textarea>
            <br />
            <br />
          </li>
          <li>Add the following line to /admin/includes/boxes/reports.php<br />
            <br />
            AFTER<br />
            <textarea cols="55" rows="3" wrap="off">‘&lt;a href=”‘ .  tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, ”, ‘NONSSL’) . ‘”  class=”menuBoxContentLink”&gt;’ . BOX_REPORTS_PRODUCTS_PURCHASED .  ‘&lt;/a&gt;&lt;br&gt;’ .</textarea>
            <br />
            ADD<br />
            <textarea cols="55" rows="3" wrap="off">‘&lt;a href=”‘ .  tep_href_link(FILENAME_STATS_MANUFACTURERS, ”, ‘NONSSL’) . ‘”  class=”menuBoxContentLink”&gt;’ . BOX_REPORTS_SALES_MANUFACTURERS .  ‘&lt;/a&gt;&lt;br&gt;’ .</textarea>
          </li>
        </ol>
        <p>&nbsp;</p>
        <div align="center">
        <script type="text/javascript"><!--
google_ad_client = "pub-4598553210738655";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as_rimg";
google_cpa_choice = "CAAQiYaYhAIaCKdkPFe_ymq4KOm293MwAA";
google_ad_channel = "";
//-->
</script>
          <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
        </div>
      </div>
    </div>
    <p align="center"> </p>
  </div>
  <div id="sidebar">
    <h3>Search</h3>
    <ul>
      <li>
        <form method="get" id="searchform" action="http://www.robertheath.net/index.php">
          <input type="text" value="" name="s" id="s" />
          <input type="submit" id="sidebarsubmit" value="Search" />
        </form>
      </li>
    </ul>
    <h3>Pages</h3>
    <ul>
      <li class="page_item"><a href="http://robertheath.net">Home</a></li>
      <li class="page_item"><a href="http://robertheath.net/about-me/" title="About Me">About Me</a></li>
      <li class="page_item"><a href="http://robertheath.net/open-source-projects/" title="Open Source Projects">Open Source Projects</a></li>
      <li class="page_item"><a href="http://robertheath.net/resume/" title="Resume">Resume</a></li>
    </ul>
    <p>If you have used this contribution and found it helpful, please make a donation. Donations help fund the development and support of osCommerce contributions and othr open source software.</p>

<input name="cmd" value="_s-xclick" type="hidden" /> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" border="0" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" height="1" width="1" />
<input name="encrypted" value="-----BEGIN PKCS7-----MIIH0QYJKoZIhvcNAQcEoIIHwjCCB74CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCiu4vn/TwalDUJZx2A+HeORHRjEJaXXjRIpfR+LUOqe0aWgXota1hStP41sjCmyOMf773JBruhtvXF66ngj1j1jshmWbgGJK3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rVJvlwFKA2kTkJaP6ab21+itdtAbknoEYSWZLVjKdNmQ/3aZUCSk1XiBHkBXYlThwhQqa/4REMiIy2Rsiw/8UlFqMAX3DEBYisfY3nmbt19LuGr+AX+P/p4MQv11948QmBp+lVc0xXVdxTsbLwFIli/oSWw9g==-----END PKCS7-----&lt;br&gt;&lt;/input&gt;" type="hidden" /> </form>
  </div>
</div>
<div id="footer">
  <p id="footertext">© 2007 Robert Heath Development</p>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1373845-2";
urchinTracker();
</script>
</body>
</html>
